home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q102 / 0 / 54.TXT < prev    next >
Text File  |  1993-11-16  |  2KB  |  55 lines

  1. DOCUMENT:Q102054  04-NOV-1993  [W_NT]
  2. TITLE   :How to Prevent Windows NT from Appending the MS-DOS Path
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. ----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system, version 3.1
  12.  - Microsoft Windows NT Advanced Server, version 3.1
  13. ----------------------------------------------------------------------
  14.  
  15. On a system using NT Flexboot to boot both MS-DOS and Windows NT,
  16. Windows NT appends the path setting found in the AUTOEXEC.BAT file to
  17. the default command environment. This is done so that you can run
  18. MS-DOS-based applications that are currently installed on your system
  19. without modifying Windows NT.
  20.  
  21. If the you do not want the MS-DOS path appended to the default Windows
  22. NT environment, do the following:
  23.  
  24. 1. Create a batch file (for example, DOSPATH.BAT) with the PATH
  25.    statement from your AUTOEXEC.BAT file.
  26.  
  27. 2. Remove the PATH statement from AUTOEXEC.BAT.
  28.  
  29. 3. Use the CALL command to call the other batch file. For example:
  30.  
  31.       call c:\dospath.bat
  32.  
  33. When you boot Windows NT, it does not find a PATH statement in your
  34. AUTOEXEC.BAT file. However, when you boot MS-DOS, the AUTOEXEC.BAT
  35. file runs DOSPATH.BAT and sets your path.
  36.  
  37. Additional reference words: 3.10
  38. KBCategory:
  39. KBSubCategory: winnt
  40.  
  41. =============================================================================
  42.  
  43. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  44. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  45. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  46. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  47. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  48. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  49. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  50. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  51. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  52. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  53. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  54.  
  55. Copyright Microsoft Corporation 1993.